package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 快递运费规则表
 */
@Data
@ApiModel("快递运费规则表")
public class ExpressFreightInnerRule implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 快递运费规则id
     */
    @TableId
    @ApiModelProperty("快递运费规则id")
    private Long id;

    /**
     * 基础件数
     */
    @ApiModelProperty("基础件数")
    private Integer numberOfBasicPieces;

    /**
     * 基础件数运费
     */
    @ApiModelProperty("基础件数运费")
    private BigDecimal basicUnitFreight;

    /**
     * 续件件数
     */
    @ApiModelProperty("续件件数")
    private Integer numberOfRenewalPieces;

    /**
     * 续件件数运费
     */
    @ApiModelProperty("续件件数运费")
    private BigDecimal numberOfRenewalAndFreight;

    /**
     * 快递运费id
     */
    @ApiModelProperty("快递运费id")
    private Long expressFreightId;

    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;



}
